package cn.gdut.chengcai.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CourseLessonInfoExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public CourseLessonInfoExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id_ is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id_ is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Long value) {
			addCriterion("id_ =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Long value) {
			addCriterion("id_ <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Long value) {
			addCriterion("id_ >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Long value) {
			addCriterion("id_ >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Long value) {
			addCriterion("id_ <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Long value) {
			addCriterion("id_ <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Long> values) {
			addCriterion("id_ in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Long> values) {
			addCriterion("id_ not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Long value1, Long value2) {
			addCriterion("id_ between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Long value1, Long value2) {
			addCriterion("id_ not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andSnIsNull() {
			addCriterion("sn_ is null");
			return (Criteria) this;
		}

		public Criteria andSnIsNotNull() {
			addCriterion("sn_ is not null");
			return (Criteria) this;
		}

		public Criteria andSnEqualTo(String value) {
			addCriterion("sn_ =", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotEqualTo(String value) {
			addCriterion("sn_ <>", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThan(String value) {
			addCriterion("sn_ >", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThanOrEqualTo(String value) {
			addCriterion("sn_ >=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThan(String value) {
			addCriterion("sn_ <", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThanOrEqualTo(String value) {
			addCriterion("sn_ <=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLike(String value) {
			addCriterion("sn_ like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotLike(String value) {
			addCriterion("sn_ not like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnIn(List<String> values) {
			addCriterion("sn_ in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotIn(List<String> values) {
			addCriterion("sn_ not in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnBetween(String value1, String value2) {
			addCriterion("sn_ between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotBetween(String value1, String value2) {
			addCriterion("sn_ not between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andNameIsNull() {
			addCriterion("name_ is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name_ is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name_ =", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotEqualTo(String value) {
			addCriterion("name_ <>", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name_ >", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThanOrEqualTo(String value) {
			addCriterion("name_ >=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThan(String value) {
			addCriterion("name_ <", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThanOrEqualTo(String value) {
			addCriterion("name_ <=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLike(String value) {
			addCriterion("name_ like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotLike(String value) {
			addCriterion("name_ not like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameIn(List<String> values) {
			addCriterion("name_ in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotIn(List<String> values) {
			addCriterion("name_ not in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameBetween(String value1, String value2) {
			addCriterion("name_ between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name_ not between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNull() {
			addCriterion("user_id_ is null");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNotNull() {
			addCriterion("user_id_ is not null");
			return (Criteria) this;
		}

		public Criteria andUserIdEqualTo(Long value) {
			addCriterion("user_id_ =", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotEqualTo(Long value) {
			addCriterion("user_id_ <>", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThan(Long value) {
			addCriterion("user_id_ >", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
			addCriterion("user_id_ >=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThan(Long value) {
			addCriterion("user_id_ <", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThanOrEqualTo(Long value) {
			addCriterion("user_id_ <=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdIn(List<Long> values) {
			addCriterion("user_id_ in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotIn(List<Long> values) {
			addCriterion("user_id_ not in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdBetween(Long value1, Long value2) {
			addCriterion("user_id_ between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotBetween(Long value1, Long value2) {
			addCriterion("user_id_ not between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUsernameIsNull() {
			addCriterion("username_ is null");
			return (Criteria) this;
		}

		public Criteria andUsernameIsNotNull() {
			addCriterion("username_ is not null");
			return (Criteria) this;
		}

		public Criteria andUsernameEqualTo(String value) {
			addCriterion("username_ =", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameNotEqualTo(String value) {
			addCriterion("username_ <>", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameGreaterThan(String value) {
			addCriterion("username_ >", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameGreaterThanOrEqualTo(String value) {
			addCriterion("username_ >=", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameLessThan(String value) {
			addCriterion("username_ <", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameLessThanOrEqualTo(String value) {
			addCriterion("username_ <=", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameLike(String value) {
			addCriterion("username_ like", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameNotLike(String value) {
			addCriterion("username_ not like", value, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameIn(List<String> values) {
			addCriterion("username_ in", values, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameNotIn(List<String> values) {
			addCriterion("username_ not in", values, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameBetween(String value1, String value2) {
			addCriterion("username_ between", value1, value2, "username");
			return (Criteria) this;
		}

		public Criteria andUsernameNotBetween(String value1, String value2) {
			addCriterion("username_ not between", value1, value2, "username");
			return (Criteria) this;
		}

		public Criteria andCourseIdIsNull() {
			addCriterion("course_id_ is null");
			return (Criteria) this;
		}

		public Criteria andCourseIdIsNotNull() {
			addCriterion("course_id_ is not null");
			return (Criteria) this;
		}

		public Criteria andCourseIdEqualTo(Long value) {
			addCriterion("course_id_ =", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdNotEqualTo(Long value) {
			addCriterion("course_id_ <>", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdGreaterThan(Long value) {
			addCriterion("course_id_ >", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdGreaterThanOrEqualTo(Long value) {
			addCriterion("course_id_ >=", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdLessThan(Long value) {
			addCriterion("course_id_ <", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdLessThanOrEqualTo(Long value) {
			addCriterion("course_id_ <=", value, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdIn(List<Long> values) {
			addCriterion("course_id_ in", values, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdNotIn(List<Long> values) {
			addCriterion("course_id_ not in", values, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdBetween(Long value1, Long value2) {
			addCriterion("course_id_ between", value1, value2, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseIdNotBetween(Long value1, Long value2) {
			addCriterion("course_id_ not between", value1, value2, "courseId");
			return (Criteria) this;
		}

		public Criteria andCourseSnIsNull() {
			addCriterion("course_sn_ is null");
			return (Criteria) this;
		}

		public Criteria andCourseSnIsNotNull() {
			addCriterion("course_sn_ is not null");
			return (Criteria) this;
		}

		public Criteria andCourseSnEqualTo(String value) {
			addCriterion("course_sn_ =", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnNotEqualTo(String value) {
			addCriterion("course_sn_ <>", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnGreaterThan(String value) {
			addCriterion("course_sn_ >", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnGreaterThanOrEqualTo(String value) {
			addCriterion("course_sn_ >=", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnLessThan(String value) {
			addCriterion("course_sn_ <", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnLessThanOrEqualTo(String value) {
			addCriterion("course_sn_ <=", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnLike(String value) {
			addCriterion("course_sn_ like", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnNotLike(String value) {
			addCriterion("course_sn_ not like", value, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnIn(List<String> values) {
			addCriterion("course_sn_ in", values, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnNotIn(List<String> values) {
			addCriterion("course_sn_ not in", values, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnBetween(String value1, String value2) {
			addCriterion("course_sn_ between", value1, value2, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseSnNotBetween(String value1, String value2) {
			addCriterion("course_sn_ not between", value1, value2, "courseSn");
			return (Criteria) this;
		}

		public Criteria andCourseNameIsNull() {
			addCriterion("course_name_ is null");
			return (Criteria) this;
		}

		public Criteria andCourseNameIsNotNull() {
			addCriterion("course_name_ is not null");
			return (Criteria) this;
		}

		public Criteria andCourseNameEqualTo(String value) {
			addCriterion("course_name_ =", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameNotEqualTo(String value) {
			addCriterion("course_name_ <>", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameGreaterThan(String value) {
			addCriterion("course_name_ >", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameGreaterThanOrEqualTo(String value) {
			addCriterion("course_name_ >=", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameLessThan(String value) {
			addCriterion("course_name_ <", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameLessThanOrEqualTo(String value) {
			addCriterion("course_name_ <=", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameLike(String value) {
			addCriterion("course_name_ like", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameNotLike(String value) {
			addCriterion("course_name_ not like", value, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameIn(List<String> values) {
			addCriterion("course_name_ in", values, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameNotIn(List<String> values) {
			addCriterion("course_name_ not in", values, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameBetween(String value1, String value2) {
			addCriterion("course_name_ between", value1, value2, "courseName");
			return (Criteria) this;
		}

		public Criteria andCourseNameNotBetween(String value1, String value2) {
			addCriterion("course_name_ not between", value1, value2, "courseName");
			return (Criteria) this;
		}

		public Criteria andChapterIdIsNull() {
			addCriterion("chapter_id_ is null");
			return (Criteria) this;
		}

		public Criteria andChapterIdIsNotNull() {
			addCriterion("chapter_id_ is not null");
			return (Criteria) this;
		}

		public Criteria andChapterIdEqualTo(Long value) {
			addCriterion("chapter_id_ =", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdNotEqualTo(Long value) {
			addCriterion("chapter_id_ <>", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdGreaterThan(Long value) {
			addCriterion("chapter_id_ >", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdGreaterThanOrEqualTo(Long value) {
			addCriterion("chapter_id_ >=", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdLessThan(Long value) {
			addCriterion("chapter_id_ <", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdLessThanOrEqualTo(Long value) {
			addCriterion("chapter_id_ <=", value, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdIn(List<Long> values) {
			addCriterion("chapter_id_ in", values, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdNotIn(List<Long> values) {
			addCriterion("chapter_id_ not in", values, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdBetween(Long value1, Long value2) {
			addCriterion("chapter_id_ between", value1, value2, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterIdNotBetween(Long value1, Long value2) {
			addCriterion("chapter_id_ not between", value1, value2, "chapterId");
			return (Criteria) this;
		}

		public Criteria andChapterSnIsNull() {
			addCriterion("chapter_sn_ is null");
			return (Criteria) this;
		}

		public Criteria andChapterSnIsNotNull() {
			addCriterion("chapter_sn_ is not null");
			return (Criteria) this;
		}

		public Criteria andChapterSnEqualTo(String value) {
			addCriterion("chapter_sn_ =", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnNotEqualTo(String value) {
			addCriterion("chapter_sn_ <>", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnGreaterThan(String value) {
			addCriterion("chapter_sn_ >", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnGreaterThanOrEqualTo(String value) {
			addCriterion("chapter_sn_ >=", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnLessThan(String value) {
			addCriterion("chapter_sn_ <", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnLessThanOrEqualTo(String value) {
			addCriterion("chapter_sn_ <=", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnLike(String value) {
			addCriterion("chapter_sn_ like", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnNotLike(String value) {
			addCriterion("chapter_sn_ not like", value, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnIn(List<String> values) {
			addCriterion("chapter_sn_ in", values, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnNotIn(List<String> values) {
			addCriterion("chapter_sn_ not in", values, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnBetween(String value1, String value2) {
			addCriterion("chapter_sn_ between", value1, value2, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterSnNotBetween(String value1, String value2) {
			addCriterion("chapter_sn_ not between", value1, value2, "chapterSn");
			return (Criteria) this;
		}

		public Criteria andChapterNameIsNull() {
			addCriterion("chapter_name_ is null");
			return (Criteria) this;
		}

		public Criteria andChapterNameIsNotNull() {
			addCriterion("chapter_name_ is not null");
			return (Criteria) this;
		}

		public Criteria andChapterNameEqualTo(String value) {
			addCriterion("chapter_name_ =", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameNotEqualTo(String value) {
			addCriterion("chapter_name_ <>", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameGreaterThan(String value) {
			addCriterion("chapter_name_ >", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameGreaterThanOrEqualTo(String value) {
			addCriterion("chapter_name_ >=", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameLessThan(String value) {
			addCriterion("chapter_name_ <", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameLessThanOrEqualTo(String value) {
			addCriterion("chapter_name_ <=", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameLike(String value) {
			addCriterion("chapter_name_ like", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameNotLike(String value) {
			addCriterion("chapter_name_ not like", value, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameIn(List<String> values) {
			addCriterion("chapter_name_ in", values, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameNotIn(List<String> values) {
			addCriterion("chapter_name_ not in", values, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameBetween(String value1, String value2) {
			addCriterion("chapter_name_ between", value1, value2, "chapterName");
			return (Criteria) this;
		}

		public Criteria andChapterNameNotBetween(String value1, String value2) {
			addCriterion("chapter_name_ not between", value1, value2, "chapterName");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlIsNull() {
			addCriterion("courseware_url_ is null");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlIsNotNull() {
			addCriterion("courseware_url_ is not null");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlEqualTo(String value) {
			addCriterion("courseware_url_ =", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlNotEqualTo(String value) {
			addCriterion("courseware_url_ <>", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlGreaterThan(String value) {
			addCriterion("courseware_url_ >", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlGreaterThanOrEqualTo(String value) {
			addCriterion("courseware_url_ >=", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlLessThan(String value) {
			addCriterion("courseware_url_ <", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlLessThanOrEqualTo(String value) {
			addCriterion("courseware_url_ <=", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlLike(String value) {
			addCriterion("courseware_url_ like", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlNotLike(String value) {
			addCriterion("courseware_url_ not like", value, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlIn(List<String> values) {
			addCriterion("courseware_url_ in", values, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlNotIn(List<String> values) {
			addCriterion("courseware_url_ not in", values, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlBetween(String value1, String value2) {
			addCriterion("courseware_url_ between", value1, value2, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andCoursewareUrlNotBetween(String value1, String value2) {
			addCriterion("courseware_url_ not between", value1, value2, "coursewareUrl");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNull() {
			addCriterion("is_show_ is null");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNotNull() {
			addCriterion("is_show_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsShowEqualTo(Boolean value) {
			addCriterion("is_show_ =", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotEqualTo(Boolean value) {
			addCriterion("is_show_ <>", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThan(Boolean value) {
			addCriterion("is_show_ >", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ >=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThan(Boolean value) {
			addCriterion("is_show_ <", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ <=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowIn(List<Boolean> values) {
			addCriterion("is_show_ in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotIn(List<Boolean> values) {
			addCriterion("is_show_ not in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ not between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNull() {
			addCriterion("is_deleted_ is null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNotNull() {
			addCriterion("is_deleted_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedEqualTo(Boolean value) {
			addCriterion("is_deleted_ =", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotEqualTo(Boolean value) {
			addCriterion("is_deleted_ <>", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThan(Boolean value) {
			addCriterion("is_deleted_ >", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ >=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThan(Boolean value) {
			addCriterion("is_deleted_ <", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ <=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIn(List<Boolean> values) {
			addCriterion("is_deleted_ in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotIn(List<Boolean> values) {
			addCriterion("is_deleted_ not in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ not between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time_ is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time_ =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time_ <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time_ >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time_ >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time_ <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time_ <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time_ in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time_ not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time_ between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time_ not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time_ is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time_ =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time_ <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time_ >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time_ >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time_ <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time_ <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time_ in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time_ not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time_ between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time_ not between", value1, value2, "updateTime");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}